/**
 * @description atMe的路由
 * @author 印明帝
 */
import { axios, _formateAxiosData } from './axiosInstance'

/***
  * 获取atme的第一页数据
  * @method getHomeInfo
  * @returns {Promise}
  */
async function getAtMeBlog (index = 0) {
  let result = await axios.get('/at/blog', {
    params: {
      index
    }
  })
  return _formateAxiosData(result)
}

export {
  getAtMeBlog
}
